<?php echo $form_scripts?>
<?php echo $form_begin?>
<?php 
//$container_tr=join("&nbsp;", $form->_button_container["TR"]);
//$container_bl=join("&nbsp;", $form->_button_container["BL"]);
//$container_br=join("&nbsp;", $form->_button_container["BR"]);
?>
<?php if(isset($form->error_string))echo '<div class="alert">'.$form->error_string.'</div>'; ?>
<table border=0 width="90%" align='center'>
	<tr>
		<td>&nbsp;</td>
		<td align='center' valign='middle'>
			<?php  if ($form->tipo->value=='0') echo "<div style='font-size:14px;font-weight:bold;color: #B40404'>***DESACTIVADO***</div>"; ?>&nbsp;
		</td>
		<td align='right'><?php echo $container_tr; ?></td>
	</tr>
	<tr>
		<td colspan='2' width="70%">
			<fieldset style='border: 2px outset #9AC8DA;background: #FFFFFF;'>
			<legend class="titulofieldset" style='color: #2E4B77;'>Identificaci&oacute;n</legend>
			<table border=0 width="100%">
			<tr>
				<td class="littletableheader" width="20%" ><?=$form->proveed->label  ?></td>
				<td class="littletablerow" ><?=$form->proveed->output ?></td>
				<td class="littletableheader"><?=$form->rif->label ?></td>
				<td class="littletablerow"><?=$form->rif->output ?></td>
			</tr>	
			<tr>
				<td class="littletableheader"><?=$form->nombre->label ?></td>
				<td colspan='3' class="littletablerow"><?=$form->nombre->output?></td>
			</tr>
			<tr>
				<td class="littletableheader"><?=$form->contacto->label  ?></td>
				<td colspan='3' class="littletablerow"><?=$form->contacto->output ?></td>
			</tr>
			<tr>
			  <td class="littletableheader"><?=$form->telefono->label ?></td>
			  <td colspan='3' class="littletablerow"><?=$form->telefono->output ?></td>
			</tr>
			<tr>
			  <td class="littletableheader"><?=$form->telefono2->label ?></td>
			  <td colspan='3' class="littletablerow"><?=$form->telefono2->output ?></td>
			</tr>
			<tr>
			  <td class="littletableheader"><?=$form->fax->label ?></td>
			  <td colspan='3' class="littletablerow"><?=$form->fax->output ?></td>
			</tr>
			<tr>
			  <td class="littletableheader"><?=$form->direc1->label  ?></span></td>
			  <td colspan='3' class="littletablerow"><?=$form->direc1->output ?></span></td>
			  </tr>
			 <tr>
			  <td class="littletableheader"><?=$form->ciudad->label  ?></span></td>
			  <td colspan='3' class="littletablerow"><?=$form->ciudad->output ?></span></td>
			 </tr>
			 <tr>
			  <td class="littletableheader"><?=$form->apartado->label  ?></span></td>
			  <td colspan='3' class="littletablerow"><?=$form->apartado->output ?></span></td>
			 </tr>
			</table>
			</fieldset>
		</td>
		<td>
		<fieldset style='border: 2px outset #9AC8DA;background: #FFFFFF;'>
			<legend>&nbsp;</legend>
			<table border=0  width="90%">
			<tr>
				<td width='50' class="littletableheader"><?=$form->grupo->label ?></td>
				<td  class="littletablerow"><?=$form->grupo->output?></td>
			</tr>	
				<td class="littletableheader"> <?=$form->tipo->label ?></td>
				<td class="littletablerow"> <?=$form->tipo->output ?></td>
			<tr>
				<td class="littletableheader"><?=$form->tiva->label  ?></td>
				<td class="littletablerow"><?=$form->tiva->output ?></td>
			</tr>
			
			</table>
			</fieldset>
		</td>
	</tr>
	<tr>
		<td colspan=3>
		<fieldset style='border: 2px outset #9AC8DA;background: #EFEFEF;'>
		<legend class="titulofieldset" style='color: #2E4B77;'>Contacto</legend>
			<table width= "100%" border=0 >
				<tr>
					<td width="15%" class="littletableheaderc"><?=$form->email->label  ?></td>
					<td width="85%" class="littletablerow"    ><?=$form->email->output ?></td>
				</tr>
				<tr>
					<td class="littletableheaderc"><?=$form->url->label  ?></td>
					<td class="littletablerow"    ><?=$form->url->output ?></td>
				</tr>
				<tr>
				  <td class="littletableheaderc"><?=$form->observa->label  ?></td>
				  <td class="littletablerow"    ><?=$form->observa->output ?></td>
			  </tr>
			</table>
		</fieldset>
		</td>
	</tr>
</table>
<?php echo $container_bl.$container_br; ?>
<?php echo $form_end?>
